import request from '@/utils/request'
import { payApi } from '@/utils/comm'

// 查询列表
export function listOrder(query) {
  return request({
    url: `${payApi}/order/list`,
    method: 'get',
    params: query
  })
}

// 查询详细
export function getDetail(id) {
  return request({
    url: `${payApi}/order/` + id,
    method: 'get'
  })
}